<form class="layui-form" lay-filter="tpl_partner{$partner_id}" action="{:url('partner/saveData')}">
	<input type="hidden" name="partner_id" class="layui-input" />
	<div class="layui-form-item">
		<label class="layui-form-label">合作伙伴</label>
		<div class="layui-input-inline">
			<input type="text" name="partner_name" lay-verify="required" placeholder="请输入合作伙伴" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">合作开始时间</label>
		<div class="layui-input-inline">
			<input type="text" readonly name="start_time" lay-verify="required" placeholder="选择时间" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">是否买断</label>
		<div class="layui-input-inline">
			<input type="checkbox" name="maiduan" title="买断" lay-skin="primary" layui-filter="partner_maiduan">
		</div>
	</div>
	<div class="layui-form-item end_time">
		<label class="layui-form-label">合作结束时间</label>
		<div class="layui-input-inline">
			<input type="text" readonly name="end_time" placeholder="选择时间" autocomplete="off" class="layui-input">
			
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">合同金额</label>
		<div class="layui-input-inline">
			<input type="text" name="amount" lay-verify="required" placeholder="￥" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<label class="layui-form-label">主站域名</label>
		<div class="layui-input-inline">
			<input type="text" name="web_url"  placeholder="http://" autocomplete="off" class="layui-input">
		</div>
	</div>
	<div class="layui-form-item">
		<div class="layui-input-block">
			<button type="button" class="layui-btn layui-btn-normal" lay-submit lay-filter="submit_partner">保存数据</button>
			<button type="reset" class="layui-btn layui-btn-primary">重置</button>
		</div>
	</div>
</form>
<script>
	// 赋值
	var partner_form_value = {$data};
</script>
<script src="/static/js/partner_tpl.js" type="text/javascript" charset="utf-8"></script>